<template>
	<p>{{ store.counter }}</p>
	<ElButton @click="store.counter++">+</ElButton>
</template>

<script lang="ts" setup>
import { ElButton } from "element-plus";
import { useStore } from "@/store/app";
const store = useStore();
</script>
